﻿{% extends "base.html" %}

{% block head_block %}
<meta name="verify-v1" content="EjkoZwrUyHnlwjyUkbFXVJ2Ioms9m4NTUETFhrIyoNY=" />
<meta name="Keywords" content="vvonder,vvonderblog.appspot.com,python,google app engine,django,linux,开发,安全,计算机技术" />
<meta name="Description" content="我是vvonder，这是我的个人技术博客，在这里我会发表计算机技术相关的文章，欢迎大家一起讨论." />

{% endblock %}

{% block content %}

	<div id="main">
		<div id="maincontent"><div class="forFlow">
			{% if entries %}
				{% for entry in entries %}
					<div class="post" id="post-{{entry.key}}">
						<h2 class="post-title"><a href="/{{ entry.link|escape }}" rel="bookmark" title="Permanent Link to {{entry.title|escape}}">{{entry.title|escape}}</a></h2>
						<div class="postmetadata-top">
							<span class="post-comments"><a href="/{{entry.link|escape}}#comments">{{entry.commentcount}} 条评论</a></span>
							<span class="post-date">{{entry.date|datetz:"Y/m/d H:i"}}</span>
							<span class="post-views"><a href="/{{entry.link|escape}}">{{entry.readtimes}} 次阅读</a></span>
						</div>
						<div class="entry">
							{{entry.content_excerpt}}
						</div>
						<div class="postmetadata">
							<span class="post-cat">分类:
								{%for cate in entry.categories%} <a href="/category/{{cate.slug}}">{{cate.name}}</a> {%endfor%}
							</span>

							{% if entry.tags%}
							<span class="post-tag">标签:
								{%for tag in entry.tags%}
									<a href="/tag/{{tag|urlencode}}">{{tag}}</a>&nbsp;{%endfor%}</span>
							{%endif%}
						</div>
					</div>
				{% endfor %}
				<div class="navigation">
					<span class="pages">第 {{pageindex}} 页</span>
					{% if show_prev %}<a href="/page/{{ pageindex|add:"-1" }}" >&laquo;上一页</a>{% endif %}
					{% if show_next %}<a href="/page/{{ pageindex|add:"1"}}" >下一页&raquo;</a>{% endif %}
				</div>
			{% else %}
				<h2 class="center">Not Found</h2>
				<p class="center">不好意思，您所查看的内容不再这里，您可以通过侧栏搜索工具查一下。</p>
			{% endif %}
		</div></div>
		
		{% include "sidebar.html" %}
	</div>
{% endblock %}
